package com.colin.aiyi.entity;

import java.util.List;

/**
 * Created by hl on 2017/6/1.
 */

public class CommentList {

    /**
     * code : 200
     * data : {"count":1,"items":[{"content":"xxxcd","createdTime":1495097532000,"deleted":false,"id":1,"sayId":1,"userId":1}]}
     */

    private int code;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * count : 1
         * items : [{"content":"xxxcd","createdTime":1495097532000,"deleted":false,"id":1,"sayId":1,"userId":1}]
         */

        private int count;

        private List<CommentEntity> items;
       // private List<ItemsBean> items;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public List<CommentEntity> getItems() {
            return items;
        }

        public void setItems(List<CommentEntity> items) {
            this.items = items;
        }

        public static class ItemsBean {
            /**
             * content : xxxcd
             * createdTime : 1495097532000
             * deleted : false
             * id : 1
             * sayId : 1
             * userId : 1
             */

            private String content;
            private long createdTime;
            private boolean deleted;
            private int id;
            private int sayId;
            private int userId;

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public long getCreatedTime() {
                return createdTime;
            }

            public void setCreatedTime(long createdTime) {
                this.createdTime = createdTime;
            }

            public boolean isDeleted() {
                return deleted;
            }

            public void setDeleted(boolean deleted) {
                this.deleted = deleted;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getSayId() {
                return sayId;
            }

            public void setSayId(int sayId) {
                this.sayId = sayId;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }
        }
    }
}
